package com.shelpe.services.sinbadgateway.repository.jpa;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.shelpe.services.sinbadgateway.entity.jpa.AutoProductQueue;

public interface AutoProductQueueRepository extends CrudRepository<AutoProductQueue, AutoProductQueue.QueuePK>{

	List<AutoProductQueue> findByCampaignIDAndProductID(long campaignID, long productID);
	
	List<AutoProductQueue> findByCampaignID(long campaignID);
}
